﻿@{
    Layout = "~/Views/Shared/OA/_Layout.cshtml";
}
@if (IsSectionDefined("Toolbar"))
{
    <div id="toolbar" class="toolbar">
        <div class="wrap">
            <div class="comands">
                @RenderSection("Toolbar", false)
                @if (ViewBag.HideSefresh != null || ConvertHelper.ToBoolean(ViewBag.HideSefresh))
                {

                }
                else
                {
                    @Html.MyNet().Button(new ButtonOptions { Text = "刷新", Click = "refresh" })
                }
            </div>
            <div class="search">
                @RenderSection("Query", false)
            </div>
        </div>
    </div>
}
<ul id="menu" class="menu">
    <li>
        <ul>
            @RenderSection("Menu", false)
        </ul>
    </li>
</ul>
<div id="lay-tree">
    <div id="left-pane">
        @RenderSection("Tree")
    </div>
    <div id="center-pane">
        @RenderSection("Main")
    </div>
</div>
@RenderBody()
<script src="~/App_Content/Script/OA/_Splitter1.js"></script>
<script>
    function refresh() {
        window.location.reload();
    }
</script>


